﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Entity;
/*
    2012-2-17 David检查正常
 */

namespace Benefit.Service.Config
{
    /// <summary>
    /// 系统默认值
    /// </summary>
    public class ServiceDefaultValue : Benefit.Interface.Config.IDefaultValue
    {
        Benefit.DB.DBManager db = null;
        public ServiceDefaultValue(Benefit.DB.DBManager db)
        {
            this.db = db;
        }
        ///// <summary>
        ///// 默认超出止损的TICK数量
        ///// </summary>
        //public static readonly int OverLostTick = Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["OverLostTick"]) == 0 ? 10 : Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["OverLostTick"]);
        ///// <summary>
        ///// 交易员每一批次间隔的天数
        ///// </summary>
        //public static readonly int BatchBetween = Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["BatchBetween"]) == 0 ? 30 : Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["BatchBetween"]);
        public int GetOverLostTick()
        {
            return 0;
        }

        public int GetBatchBetween()
        {
            return 0;
        }
    }
}
